package com.bojiu.lawsearch.lawsearch.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;

/**
 * @author: afdiao
 * @Date：2020/3/5 23:00
 * @Description: 行业
 */
@Table(name = "mst_profession")
@Data
@ApiModel(value = "后台行业对象",description = "行业")
public class Profession {

    @ApiModelProperty(value = "行业id",required = true)
    @Column(name = "id")
    private Integer id;

    @ApiModelProperty(value = "行业名",required = true)
    @Column(name = "name")
    private String name;
}
